home *** CD-ROM | disk | FTP | other *** search
/ HyperLib 1997 Winter - Disc 1 / HYPERLIB-1997-Winter-CD1.ISO.7z / HYPERLIB-1997-Winter-CD1.ISO / オンラインウェア / BUS / ICount 1.1.sit / iCount 1.1 / iCount 1.1.rsrc / STR#_10150.txt < prev    next >
Text File  |  1996-08-19  |  1KB  |  69 lines

  1. bitwise and.
  2. Turns bits on if both of the bits being compared in x and y are 1.
  3.  
  4.  
  5. Example: and(5,1)
  6.  
  7. bitwise exclusive or(x,y).
  8. Turns bits on if the bits being compared in x and y are different.
  9.  
  10.  
  11. Example: xor(5,1)
  12.  
  13. bitwise or(x,y).
  14. Turns bits on if either of the bits being compared in x or y is 1.
  15.  
  16.  
  17. Example: or(4,1)
  18.  
  19. rand()
  20. Returns a random integer in the range of 0 to 100.
  21. The brackets can be ignored.
  22.  
  23. Example: rand
  24.  
  25. abs(x)
  26. The absolute (or positive) value of number x.
  27.  
  28.  
  29. Example: abs(5-25)
  30.  
  31. fact(x)
  32. The factorial of x is the product of all positive integers less than and equal to x (max x=1754).
  33.  
  34. Example: fact(5)
  35.  
  36. log(x)
  37. The logarithm of number x to the base of 10.
  38.  
  39.  
  40. Example: log(100)
  41.  
  42. ln(x)
  43. The (natural) logarithm of number x to the base of e.
  44.  
  45.  
  46. Example: ln(100)
  47.  
  48. sqrt(x)
  49. The square root of number x.
  50. This is equivalent to typing 竏噎.
  51.  
  52.  
  53. Example: cube(25)
  54.  
  55. cube(x)
  56. The cube of number x is x*x*x.
  57. This is equivalent to typing x^3.
  58.  
  59.  
  60. Example: cube(5)
  61.  
  62. sqr(x)
  63. The square of number x is x*x.
  64. This is equivalent to typing x^2.
  65.  
  66.  
  67. Example: sqr(5)
  68.  
  69.